﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="qtleft.ascx.cs" Inherits="qtleft" %>
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
.STYLE5 {color: #FFFFFF; font-weight: bold; }
    .auto-style1 {
        width: 9px;
    }
-->
</style>
<table id="__01" width="254" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <table id="__2" width="254" height="255" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="254" height="36" background="qtimages/1_02_01_03_01_01.gif">
                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="19%" height="20">
                                    &nbsp;</td>
                                <td width="81%" valign="middle">
                                    <span class="STYLE5">家具美学</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="254" height="208" background="qtimages/1_02_01_03_01_02.gif" style="padding-left: 5px;">  
                    <TABLE width="100%" height="100%">  
                        <TR>  
                            <TD>
                                <asp:Image ID="Image1" runat="server" Height="218px" ImageUrl="~/qtimages/jiaju.jpg" Width="238px" />
                            </TD>  
                        </TR>  
                    </TABLE>  
                         </td>
                </tr>
                <tr>
                    <td>
                        <img src="qtimages/1_02_01_03_01_03.gif" width="254" height="11" alt="">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table id="__3" width="254" height="208" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="254" height="44" background="qtimages/1_02_01_03_02_01.gif">
                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="19%" height="20">
                                    &nbsp;
                                </td>
                                <td width="81%" valign="middle">
                                    <span class="STYLE5">用户登陆</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="254" height="161" background="qtimages/1_02_01_03_02_02.gif">
                        <asp:Panel ID="Panel1" runat="server" Width="184">
                            <table align="center" border="0" cellpadding="0" cellspacing="0" height="154" style="width: 173px">
                                <tr>
                                    <td align="right">
                                        用户名:
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="loginname" runat="server" Style="border-right: #cadcb2 1px solid;
                                            border-top: #cadcb2 1px solid; font-size: 12px; border-left: #cadcb2 1px solid;
                                            width: 100px; color: #81b432; border-bottom: #cadcb2 1px solid; height: 18px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        密码:
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="loginpw" runat="server" Style="border-right: #cadcb2 1px solid;
                                            border-top: #cadcb2 1px solid; font-size: 12px; border-left: #cadcb2 1px solid;
                                            width: 100px; color: #81b432; border-bottom: #cadcb2 1px solid; height: 18px"
                                            TextMode="Password"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        权限:
                                    </td>
                                    <td align="left">
                                        <asp:DropDownList ID="type" runat="server">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="height: 24px">
                                        &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" Height="18px" OnClick="login_Button_Click"
                                            Style="border-right: #cadcb2 1px solid; border-top: #cadcb2 1px solid; font-size: 12px;
                                            border-left: #cadcb2 1px solid; color: #81b432; border-bottom: #cadcb2 1px solid"
                                            Text=" 登 陆 " Width="46px" />
                                        <asp:Button ID="Button3" runat="server" OnClick="reg_Click" Style="border-right: #cadcb2 1px solid;
                                            border-top: #cadcb2 1px solid; font-size: 12px; border-left: #cadcb2 1px solid;
                                            color: #81b432; border-bottom: #cadcb2 1px solid; height: 18px" Text="用户注册" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="Panel2" runat="server" Width="193">
                            <table align="center" border="0" cellpadding="0" cellspacing="0" height="103" style="width: 181px">
                                <tr>
                                    <td align="right" style="width: 63px">
                                        用户名:
                                    </td>
                                    <td align="left">
                                         <%=Session["loginname"]%>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 63px">
                                        您的权限:
                                    </td>
                                    <td align="left">
                                        <%=Session["typename"]%>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        &nbsp; &nbsp;<asp:Button ID="Button2" runat="server" Height="18px" OnClick="logout_Click"
                                            Style="border-right: #cadcb2 1px solid; border-top: #cadcb2 1px solid; font-size: 12px;
                                            border-left: #cadcb2 1px solid; color: #81b432; border-bottom: #cadcb2 1px solid"
                                            Text=" 退 出 " Width="46px" />
                                        <asp:Button ID="Button4" runat="server" OnClick="main_Click" Style="border-right: #cadcb2 1px solid;
                                            border-top: #cadcb2 1px solid; font-size: 12px; border-left: #cadcb2 1px solid;
                                            color: #81b432; border-bottom: #cadcb2 1px solid; height: 18px" Text="个人后台" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td>
                        <img src="qtimages/1_02_01_03_02_03.gif" width="254" height="3" alt="">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table id="__4" width="254" height="208" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="254" height="44" background="qtimages/1_02_01_03_02_01.gif">
                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="19%" height="20">
                                    &nbsp;
                                </td>
                                <td width="81%" valign="middle">
                                    <span class="STYLE5">著名家具网站</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="254" height="161" background="qtimages/1_02_01_03_02_02.gif">
                        <table border="0" cellpadding="0" cellspacing="0" height="100" width="100%">
                            <tr>
                                <td width="9" background="qtimages/1_02_01_01_02_01.jpg">
                                    &nbsp;
                                </td>
                                <td width="211" height="179" bgcolor="#FFFFFF" valign="top"><!--//友情链接展示功能方法private void getdatayqlj-->
                                    <asp:DataGrid ID="DataGridyqlj" runat="server" AutoGenerateColumns="False" BorderWidth="0"
                                        class="newsline" ShowHeader="False" Width="100%">
                                        <Columns>
                                            <asp:TemplateColumn HeaderText="gregre">
                                                <ItemTemplate>
                                                    <img src="qtimages/1.jpg" />
                                                </ItemTemplate>
                                            </asp:TemplateColumn>
                                            <asp:TemplateColumn HeaderText="gregre">
                                                <ItemTemplate><!--第一个DataBinder表示绑定一个属性的值，第二个DataBinder表示绑定元素的文本内容-->
                                                    <a href='<%#DataBinder.Eval(Container.DataItem, "url") %>' target="_blank">
                                                        <%#DataBinder.Eval(Container.DataItem, "name")%>
                                                    </a>
                                                </ItemTemplate>
                                            </asp:TemplateColumn>
                                        </Columns>
                                    </asp:DataGrid>

                                </td>
                                <td background="qtimages/1_02_01_01_02_03.jpg" class="auto-style1">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <img src="qtimages/1_02_01_03_02_03.gif" width="254" height="3" alt="" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <img src="qtimages/1_02_01_03_05.gif" width="254" height="4" alt="">
        </td>
    </tr>
</table>
